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MuB,EAAU,CAC5BjP,UAAWA,EACXsC,MAAOsL,EAASA,EAAS,CACvB1D,MAAO5D,EAAM4D,OAAS8E,EAAK9E,OAC1B8E,EAAK1M,OAAQgE,EAAMhE,OACtBnC,OAAQ+O,EACRhP,MAAOgP,EACPjN,MAAO,+BACLkJ,GAAS,gBAAoB,QAAS,KAAMA,GAAQ7E,EAAMC,SAChE,EACA,YAAuB8B,IAAhBsF,EAA4B,gBAAoBA,EAAYwB,SAAU,MAAM,SAAUH,GAC3F,OAAOD,EAAKC,EACd,IAAKD,EAAKtB,EACZ,C","sources":["webpack://_N_E/./common/cachedImage.js","webpack://_N_E/./common/commonStyled.js","webpack://_N_E/./components/common/breadcrum/useRouter.js","webpack://_N_E/./components/common/breadcrum/index.js","webpack://_N_E/./public/svg/hotel-placeholder.js","webpack://_N_E/./components/hotelListing/cta.js","webpack://_N_E/./components/hotelListing/tailwindClasses.js","webpack://_N_E/./components/hotelListing/index.js","webpack://_N_E/./node_modules/next/dist/shared/lib/amp-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/amp-mode.js","webpack://_N_E/./node_modules/next/dist/shared/lib/head.js","webpack://_N_E/./node_modules/next/dist/shared/lib/side-effect.js","webpack://_N_E/./node_modules/next/dist/shared/lib/utils/warn-once.js","webpack://_N_E/./components/city-listing/howToReach.js","webpack://_N_E/./components/city-listing/style.js","webpack://_N_E/./components/city-listing/index.js","webpack://_N_E/./components/city-listing/tailwindClasses.js","webpack://_N_E/./pages/trip/[type]/index.js","webpack://_N_E/./utils/common.js","webpack://_N_E/?3c31","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/./node_modules/react-icons/lib/esm/iconsManifest.js","webpack://_N_E/./node_modules/react-icons/lib/esm/iconContext.js","webpack://_N_E/./node_modules/react-icons/lib/esm/iconBase.js"],"sourcesContent":["import Image from 'next/image';\nimport { useState } from 'react';\n\nconst CachedImage = ({ imageUrl, className, alt = 'traviya tour and travel', width = 600, height = 400 }) => {\n const encodedUrl = encodeURIComponent(imageUrl); // Correct encoding\n const cachedImageUrl = `/api/cache-image?imageUrl=${encodedUrl}`;\n\n const [hasError, setHasError] = useState(false);\n return (\n setHasError(true)}\n />\n );\n};\n\nexport default CachedImage;\n","import styled from \"styled-components\";\n\nexport const Gwrap = styled.div`\n background-image: linear-gradient(#c6e7f8, #67b6cb);\n .main-wrapper {\n @media (min-width: 670px) and (max-width: 1023px) {\n max-width: 670px;\n margin: 0 auto;\n }\n }\n`;\n\nexport const GalleryWrap = styled.div`\n position: relative;\n display: flex;\n .image-gallery-content {\n * {\n max-height: 545px;\n }\n &.fullscreen {\n * {\n max-height: calc(100vh - 80px);\n }\n }\n img {\n width: 688px;\n height: auto;\n max-height: none;\n }\n }\n overflow: hidden;\n .image-gallery {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n`;\n\nexport const Add = styled.div`\n .ad-box {\n background-color: #ffffff;\n border: 1px solid #ddd;\n border-radius: 8px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n padding: 20px;\n max-width: 300px;\n text-align: center;\n }\n\n .ad-title {\n font-size: 24px;\n margin-bottom: 10px;\n color: #333;\n }\n\n .ad-description {\n font-size: 16px;\n margin-bottom: 10px;\n color: #666;\n }\n\n .ad-message {\n font-size: 14px;\n margin-bottom: 20px;\n color: #bb1302;\n font-weight: bold;\n }\n\n .ad-contact a {\n color: #58a4ae;\n text-decoration: none;\n font-size: 16px;\n }\n\n .ad-contact a:hover {\n text-decoration: underline;\n }\n`;\n","import { useRouter as useNextRouter } from 'next/router';\n\nexport const useRouter = () => {\n const router = useNextRouter();\n const pathSegments = router.asPath.split('/').filter((segment) => segment !== '');\n\n return {\n ...router,\n pathSegments,\n };\n};","import Link from \"next/link\";\nimport { IoIosHome } from \"react-icons/io\";\nimport { MdKeyboardArrowRight } from \"react-icons/md\";\nimport styled from \"styled-components\";\nimport { useRouter } from \"./useRouter\";\n\nconst Crum = styled.div`\n svg {\n position: absolute;\n top: 0;\n right: 0;\n margin: auto;\n bottom: 0;\n }\n li:last-child {\n svg {\n display: none;\n }\n }\n li:first-child {\n padding-left: 0;\n }\n`;\nconst Breadcrum = ({ className = \"\" }) => {\n let router = useRouter();\n return (\n \n \n \n );\n};\n\nexport default Breadcrum;\n","import React from \"react\";\n\nconst HotelPlaceholder = ({ className }) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default HotelPlaceholder;\n","import Link from \"next/link\";\nimport React, { useState } from \"react\";\nimport { tailwindClasses } from \"./tailwindClasses\";\n\nconst Cta = ({ mobile, link }) => {\n const { buttons } = tailwindClasses;\n // const router = useRouter();\n const [showNumber, setShowNumber] = useState(false);\n\n // const redirectPage = useCallback(\n // (link) => {\n // if (link) {\n // router.push(link);\n // }\n // },\n // [router]\n // );\n\n return (\n
\n setShowNumber(true)}\n className={`${buttons} hover:bg-[#384148] hover:text-[#e0f3fd] border-r border-r-1 border-[#fff]`}\n >\n {showNumber ? mobile || \"NA\" : \"Show Number\"}\n \n {/* */}\n {link ? (\n \n Show Details\n \n ) : (\n \n No Details\n \n )}\n
\n );\n};\n\nexport default Cta;\n","export const tailwindClasses = {\n mainWrap: \"main-wrapper pb-[38px] lg:pb-[48px]\",\n headingWrap: \"border-l-4 pl-[8px] bold-italic mb-[26px]\",\n // hotelListCls: 'row md:flex-row flex-col mt-[30px]',\n // hotelWrap: \"col-4 mb-[30px] sm:w-full\",\n subHotelWrap: \"bg-white rounded-lg shadow-lg w-[100%] relative\",\n imgWrap: \"overflow-hidden rounded-t-lg w-full h-[245px] bg-[#f0efef]\",\n imgClass:\n \"w-full h-full object-cover transition-transform duration-300 ease-in-out hover:scale-110\",\n titleWrap: \" w-full bottom-0 bg-whiterounded-b-lg\",\n heading:\n \"capitalize font-bold mb-2 text-2xl text-[#58A4AE] border-l-0 whitespace-break-spaces\",\n // linkCls: \"font-semibold cursor-pointer hover:text-[#58A4AE]\",\n buttons:\n \"w-[50%] uppercase font-bold text-[14px] p-[5px] bg-[#58a4ae] text-[#fff] cursor-pointer transition-transform duration-300 ease-in-out\",\n};\n","import Link from \"next/link\";\nimport HotelPlaceholder from \"../../public/svg/hotel-placeholder\";\nimport { isDateExpired } from \"../../utils/common\";\nimport Cta from \"./cta\";\nimport { tailwindClasses } from \"./tailwindClasses\";\n\nconst HotelListing = ({ hotelList, placeName }) => {\n const {\n heading,\n headingWrap,\n // hotelWrap,\n imgClass,\n imgWrap,\n mainWrap,\n subHotelWrap,\n titleWrap,\n // linkCls,\n // buttons\n } = tailwindClasses;\n\n return (\n <>\n {Array.isArray(hotelList) &&\n hotelList?.filter((hotel) => !isDateExpired(hotel?.expiry_on)).length >\n 0 ? (\n
\n

\n Discover your perfect stay: Hotels just for you, with direct deals\n

\n \n {hotelList.map((hotel, i) => (\n
\n {!isDateExpired(hotel?.expiry_on) && (\n redirectPage(hotel?.link)}\n >\n
\n {hotel?.card_bg ? (\n \n ) : (\n \n )}\n
\n
\n
\n

{hotel?.hotel}

\n {/*

{hotel?.heading}

*/}\n

{hotel?.location}

\n
\n \n
\n
\n )}\n
\n ))}\n \n \n ) : (\n
\n No hotels are currently listed with us in this page of {placeName}. Be\n the first to join us by listing your hotel today!.\n \n
\n Click here to contact us\n
\n \n
\n )}\n \n );\n};\n\nexport default HotelListing;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AmpStateContext = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nconst AmpStateContext = _react.default.createContext({});\nexports.AmpStateContext = AmpStateContext;\nif (process.env.NODE_ENV !== 'production') {\n AmpStateContext.displayName = 'AmpStateContext';\n}\n\n//# sourceMappingURL=amp-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isInAmpMode = isInAmpMode;\nfunction isInAmpMode({ ampFirst =false , hybrid =false , hasQuery =false , } = {}) {\n return ampFirst || hybrid && hasQuery;\n}\n\n//# sourceMappingURL=amp-mode.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultHead = defaultHead;\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _sideEffect = _interop_require_default(require(\"./side-effect\"));\nvar _ampContext = require(\"./amp-context\");\nvar _headManagerContext = require(\"./head-manager-context\");\nvar _ampMode = require(\"./amp-mode\");\nvar _warnOnce = require(\"./utils/warn-once\");\n'use client';\nfunction defaultHead(inAmpMode = false) {\n const head = [\n /*#__PURE__*/ _react.default.createElement(\"meta\", {\n charSet: \"utf-8\"\n })\n ];\n if (!inAmpMode) {\n head.push(/*#__PURE__*/ _react.default.createElement(\"meta\", {\n name: \"viewport\",\n content: \"width=device-width\"\n }));\n }\n return head;\n}\nfunction onlyReactElement(list, child) {\n // React children can be \"string\" or \"number\" in this case we ignore them for backwards compat\n if (typeof child === 'string' || typeof child === 'number') {\n return list;\n }\n // Adds support for React.Fragment\n if (child.type === _react.default.Fragment) {\n return list.concat(_react.default.Children.toArray(child.props.children).reduce((fragmentList, fragmentChild)=>{\n if (typeof fragmentChild === 'string' || typeof fragmentChild === 'number') {\n return fragmentList;\n }\n return fragmentList.concat(fragmentChild);\n }, []));\n }\n return list.concat(child);\n}\nconst METATYPES = [\n 'name',\n 'httpEquiv',\n 'charSet',\n 'itemProp'\n];\n/*\n returns a function for filtering head child elements\n which shouldn't be duplicated, like \n Also adds support for deduplicated `key` properties\n*/ function unique() {\n const keys = new Set();\n const tags = new Set();\n const metaTypes = new Set();\n const metaCategories = {};\n return (h)=>{\n let isUnique = true;\n let hasKey = false;\n if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) {\n hasKey = true;\n const key = h.key.slice(h.key.indexOf('$') + 1);\n if (keys.has(key)) {\n isUnique = false;\n } else {\n keys.add(key);\n }\n }\n // eslint-disable-next-line default-case\n switch(h.type){\n case 'title':\n case 'base':\n if (tags.has(h.type)) {\n isUnique = false;\n } else {\n tags.add(h.type);\n }\n break;\n case 'meta':\n for(let i = 0, len = METATYPES.length; i < len; i++){\n const metatype = METATYPES[i];\n if (!h.props.hasOwnProperty(metatype)) continue;\n if (metatype === 'charSet') {\n if (metaTypes.has(metatype)) {\n isUnique = false;\n } else {\n metaTypes.add(metatype);\n }\n } else {\n const category = h.props[metatype];\n const categories = metaCategories[metatype] || new Set();\n if ((metatype !== 'name' || !hasKey) && categories.has(category)) {\n isUnique = false;\n } else {\n categories.add(category);\n metaCategories[metatype] = categories;\n }\n }\n }\n break;\n }\n return isUnique;\n };\n}\n/**\n *\n * @param headChildrenElements List of children of <Head>\n */ function reduceComponents(headChildrenElements, props) {\n const { inAmpMode } = props;\n return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i)=>{\n const key = c.key || i;\n if (process.env.NODE_ENV !== 'development' && process.env.__NEXT_OPTIMIZE_FONTS && !inAmpMode) {\n if (c.type === 'link' && c.props['href'] && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.\n [\n 'https://fonts.googleapis.com/css',\n 'https://use.typekit.net/'\n ].some((url)=>c.props['href'].startsWith(url))) {\n const newProps = _extends({}, c.props || {});\n newProps['data-href'] = newProps['href'];\n newProps['href'] = undefined;\n // Add this attribute to make it easy to identify optimized tags\n newProps['data-optimized-fonts'] = true;\n return /*#__PURE__*/ _react.default.cloneElement(c, newProps);\n }\n }\n if (process.env.NODE_ENV === 'development') {\n // omit JSON-LD structured data snippets from the warning\n if (c.type === 'script' && c.props['type'] !== 'application/ld+json') {\n const srcMessage = c.props['src'] ? `<script> tag with src=\"${c.props['src']}\"` : `inline <script>`;\n (0, _warnOnce).warnOnce(`Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead. \\nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);\n } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') {\n (0, _warnOnce).warnOnce(`Do not add stylesheets using next/head (see <link rel=\"stylesheet\"> tag with href=\"${c.props['href']}\"). Use Document instead. \\nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);\n }\n }\n return /*#__PURE__*/ _react.default.cloneElement(c, {\n key\n });\n });\n}\n/**\n * This component injects elements to `<head>` of your page.\n * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.\n */ function Head({ children }) {\n const ampState = (0, _react).useContext(_ampContext.AmpStateContext);\n const headManager = (0, _react).useContext(_headManagerContext.HeadManagerContext);\n return /*#__PURE__*/ _react.default.createElement(_sideEffect.default, {\n reduceComponentsToState: reduceComponents,\n headManager: headManager,\n inAmpMode: (0, _ampMode).isInAmpMode(ampState)\n }, children);\n}\nvar _default = Head;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=head.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = SideEffect;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nfunction SideEffect(props) {\n const { headManager , reduceComponentsToState } = props;\n function emitChange() {\n if (headManager && headManager.mountedInstances) {\n const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));\n headManager.updateHead(reduceComponentsToState(headElements, props));\n }\n }\n if (isServer) {\n var ref;\n headManager == null ? void 0 : (ref = headManager.mountedInstances) == null ? void 0 : ref.add(props.children);\n emitChange();\n }\n useClientOnlyLayoutEffect(()=>{\n var ref1;\n headManager == null ? void 0 : (ref1 = headManager.mountedInstances) == null ? void 0 : ref1.add(props.children);\n return ()=>{\n var ref;\n headManager == null ? void 0 : (ref = headManager.mountedInstances) == null ? void 0 : ref.delete(props.children);\n };\n });\n // We need to call `updateHead` method whenever the `SideEffect` is trigger in all\n // life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s\n // being rendered, we only trigger the method from the last one.\n // This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`\n // singleton in the layout effect pass, and actually trigger it in the effect pass.\n useClientOnlyLayoutEffect(()=>{\n if (headManager) {\n headManager._pendingUpdate = emitChange;\n }\n return ()=>{\n if (headManager) {\n headManager._pendingUpdate = emitChange;\n }\n };\n });\n useClientOnlyEffect(()=>{\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate();\n headManager._pendingUpdate = null;\n }\n return ()=>{\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate();\n headManager._pendingUpdate = null;\n }\n };\n });\n return null;\n}\nconst isServer = typeof window === 'undefined';\nconst useClientOnlyLayoutEffect = isServer ? ()=>{} : _react.useLayoutEffect;\nconst useClientOnlyEffect = isServer ? ()=>{} : _react.useEffect;\n\n//# sourceMappingURL=side-effect.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.warnOnce = void 0;\nlet warnOnce = (_)=>{};\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set();\n exports.warnOnce = warnOnce = (msg)=>{\n if (!warnings.has(msg)) {\n console.warn(msg);\n }\n warnings.add(msg);\n };\n}\nexports.warnOnce = warnOnce;\n\n//# sourceMappingURL=warn-once.js.map","import React from \"react\";\nimport { FaCar, FaPlane } from \"react-icons/fa\";\nimport { IoMdTrain } from \"react-icons/io\";\n\nconst HowToReach = ({\n byAir,\n byCar,\n byRail\n}) => {\n return (\n <div className=\"md:flex main-wrapper md:gap-8 pb-[40px] destination-path\">\n {byCar && (\n <div className=\"pb-[24px] md:pb-0 min-w-[30%]\">\n <FaCar color=\"#03164f\" size=\"40\" />\n {byCar}\n </div>\n )}\n {byRail && (\n <div className=\"pb-[24px] md:pb-0 min-w-[30%]\">\n <IoMdTrain color=\"#03164f\" size=\"40\" />\n {byRail}\n </div>\n )}\n {byAir && (\n <div>\n <FaPlane color=\"#03164f\" size=\"40\" />\n {byAir}\n </div>\n )}\n </div>\n );\n}\n\nexport default HowToReach;","import styled from \"styled-components\";\n\nexport const BlogDescription = styled.div`\n padding-bottom: 36px;\n p {\n font-size: 16px;\n line-height: 1.6;\n }\n ul {\n li {\n font-size: 16px;\n line-height: 1.1;\n position: relative;\n padding-left: 12px;\n margin-bottom: 8px;\n &:after {\n content: \"\";\n position: absolute;\n width: 0;\n height: 0;\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-left: 8px solid #58a4ae;\n left: 0;\n bottom: 0;\n top: 0;\n margin: auto;\n }\n }\n }\n h3 {\n padding-top: 24px;\n margin-bottom: 8px;\n }\n a {\n color: #58a4ae;\n }\n @media (min-width: 1024px) {\n padding-bottom: 40px;\n p {\n font-size: 18px;\n }\n h3 {\n padding-top: 32px;\n margin-bottom: 12px;\n }\n ul {\n li {\n padding-left: 16px;\n margin-bottom: 12px;\n font-size: 18px;\n }\n }\n }\n`;\n\nexport const LocationInfo = styled.div`\n .label {\n font-weight: 700;\n }\n .value {\n opacity: 0.8;\n }\n`;\n\nexport const ImageBox = styled.div`\n border-radius: 8px;\n overflow: hidden;\n img {\n object-fit: cover;\n }\n media(min-width: 1024px) {\n }\n`;\n\n// export const Gwrap = styled.div`\n// background-image: linear-gradient(#c6e7f8, #67b6cb);\n\n// `\n// export const GalleryWrap = styled.div`\n// position: relative;\n// .image-gallery-content {\n// * {\n// max-height: 545px;\n// }\n// &.fullscreen {\n// * {\n// max-height: calc(100vh - 80px);\n// }\n// }\n// img {\n// width: 688px;\n// height: auto;\n// max-height: none;\n// }\n// }\n// overflow: hidden;\n// .image-gallery {\n// display: flex;\n// align-items: center;\n// justify-content: center;\n// }\n// `;\n\n// export const Box = styled.div`\n// position: relative;\n// border: 2px solid #58a4ae;\n// height: 300px;\n// width: 45%;\n// border-radius: 8px;\n// padding: 8px;\n// background: #fff;\n// .circle {\n// width: 60px;\n// height: 60px;\n// border-radius: 50%;\n// box-shadow: inset 7px 7px 11px #58a4ae;\n// display: flex;\n// -webkit-box-align: center;\n// align-items: center;\n// justify-content: center;\n// background: #fff;\n// position: absolute;\n// top: -25px;\n// left: -25px;\n// font-size: 38px;\n// }\n// .title {\n// // color: #58a4ae;\n// color: #4a4a4a;\n// font-size: 30px;\n// margin-bottom: 8px;\n// position: relative;\n// z-index: 2;\n// }\n// .description {\n// font-size: 18px;\n// letter-spacing: 0.5px;\n// }\n// @media (max-width: 767px) {\n// width: 100%;\n// height: fit-content;\n// .circle {\n// width: 40px;\n// height: 40px;\n// top: -13px;\n// left: -13px;\n// font-size: 28px;\n// }\n// .title {\n// line-height: 1.2;\n// font-size: 22px;\n// }\n// }\n// `;\n\nexport const Add = styled.div`\n .ad-box {\n background-color: #ffffff;\n border: 1px solid #ddd;\n border-radius: 8px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n padding: 20px;\n max-width: 300px;\n text-align: center;\n }\n\n .ad-title {\n font-size: 24px;\n margin-bottom: 10px;\n color: #333;\n }\n\n .ad-description {\n font-size: 16px;\n margin-bottom: 10px;\n color: #666;\n }\n\n .ad-message {\n font-size: 14px;\n margin-bottom: 20px;\n color: #bb1302;\n font-weight: bold;\n }\n\n .ad-contact a {\n color: #58a4ae;\n text-decoration: none;\n font-size: 16px;\n }\n\n .ad-contact a:hover {\n text-decoration: underline;\n }\n`;\n","import React, { useRouter } from \"next/router\";\nimport { useCallback } from \"react\";\nimport { isDateExpired, isEmpty } from \"../../utils/common\";\nimport Breadcrum from \"../common/breadcrum\";\nimport { tailwindClasses } from \"./tailwindClasses\";\n\nconst LightBox = dynamic(() => import(\"../common/light-box\"), { ssr: false });\nconst AdvertisementBanner = dynamic(() => import(\"../BannerAdd\"), {\n ssr: false,\n});\n\nimport dynamic from \"next/dynamic\";\nimport CachedImage from \"../../common/cachedImage\";\nimport { Add, GalleryWrap, Gwrap } from \"../../common/commonStyled\";\nimport HowToReach from \"./howToReach\";\nimport { LocationInfo } from \"./style\";\n\nexport default function CityDetailsComp({ data = {} }) {\n const { locationInfo, featuredImage, pointers = [] } = data;\n const { tag, coming_soon, main_wrap, h1_style, city_brief_wrap } =\n tailwindClasses;\n const router = useRouter();\n\n const redirectPage = useCallback(\n (link) => {\n if (link) {\n router.push(`/${router.asPath}/hotels/${link}`);\n }\n },\n [router]\n );\n\n const goDetails = (link) => {\n return () => {\n if (link) {\n router.push(link);\n }\n };\n };\n\n const city = router.query.city;\n if (data?.title === undefined) {\n return (\n <main className={coming_soon}>\n <div>Coming soon!</div>\n </main>\n );\n }\n\n return (\n <main className={main_wrap}>\n <Gwrap>\n <div className=\"flex main-wrapper flex-wrap sm:flex-nowrap\">\n {featuredImage?.[0].src ? (\n <GalleryWrap\n className=\"pd-[36px] lg:flex-[0_0_720px]\"\n imageLen={(featuredImage || []).length}\n >\n <LightBox featuredImage={featuredImage} />\n </GalleryWrap>\n ) : (\n <div className=\"h-[67px]\"></div>\n )}\n <div className=\"pl-[8px]\">\n <h1 className={h1_style}>{data?.title}</h1>\n {data?.city_brief && (\n <article dangerouslySetInnerHTML={{ __html: data?.city_brief }} />\n )}\n </div>\n </div>\n </Gwrap>\n <div\n className={`${\n featuredImage ? \"\" : \"lg:pt-[16px]\"\n } main-wrapper md:flex justify-between md:pb-0 align-center`}\n >\n <Breadcrum className=\"pt-[32px]\" />\n </div>\n <div className=\"md:flex main-wrapper md:gap-[1%] items-start\">\n <div className={city_brief_wrap}>\n <div>\n {data?.places?.map((item, i) => {\n return (\n <div\n key={i}\n role=\"button\"\n tabIndex={0}\n onClick={goDetails(item?.link)}\n className={item?.link ? \"cursor-pointer\" : \"cursor-default\"}\n >\n <div className=\"flex justify-between\">\n <h2 className={`pt-[16px] border-0 pb-[8px] relative`}>\n <span className=\"border-l-4 border-[#58A4AE] pl-[8px]\">\n {i + 1}. \n </span>\n <span className=\"text-[#58A4AE] bold\">\n {item?.title}\n {item?.tag && (\n <i\n className={`${tag} tag-${item?.tag\n .split(\" \")\n .join(\"-\")\n .toLowerCase()}`}\n >\n {item?.tag}\n </i>\n )}\n </span>\n </h2>\n </div>\n <div\n className={`article${i} flex flex-wrap mb-[12px] sm:flex-nowrap`}\n >\n {item?.img && (\n <div\n className={`w-full sm:w-[360px] flex-[0_0_100%] sm:flex-[0_0_360px] ${\n i % 2 === 0\n ? \"order-1 pb-[12px] md:pb-[0]\"\n : \"order-2\"\n }`}\n >\n <CachedImage\n className={`article-img rounded-[4px]`}\n width={500}\n height={500}\n imageUrl={item?.img}\n alt={item?.title || \"traviya\"}\n />\n </div>\n )}\n <article\n className={`travel-content text-justify justify-last ${\n i % 2 === 0\n ? \"order-2 md:pl-[16px]\"\n : \"order-1 md:pr-[16px]\"\n }`}\n dangerouslySetInnerHTML={{ __html: item?.description }}\n />\n </div>\n {(item?.adds || [])?.map((data) => {\n return (\n <>\n {!isDateExpired(data?.add_expiry) && (\n <Add\n onClick={() => redirectPage(data.link)}\n dangerouslySetInnerHTML={{\n __html: data?.add_text,\n }}\n />\n )}\n </>\n );\n })}\n </div>\n );\n })}\n </div>\n </div>\n </div>\n {data?.how_to_reach && (\n <h3 className=\"flex tex-[32px] main-wrapper pt-[24px] pb-[16px] border-0 bold-italic\">\n {data?.how_to_reach}\n </h3>\n )}\n <HowToReach\n byAir={data?.reach_by_air}\n byCar={data?.reach_by_road}\n byRail={data?.reach_by_rail}\n />\n <LocationInfo>\n {locationInfo?.map((item, i) => {\n return (\n <div key={i} className=\"main-wrapper\">\n <span className=\"label\">{item.label}: </span>\n <span className=\"value\">{item.value}</span>\n </div>\n );\n })}\n </LocationInfo>\n {!isEmpty(city?.full_page_add) && (\n <AdvertisementBanner citySlug={data.full_page_add} />\n )}\n </main>\n );\n}\n","export const tailwindClasses = {\n tag: 'px-[4px] absolute left-[-6px] bottom-[-10px] text-[12px] text-[#fff] rotate-[-9deg] rounded-[4px]',\n coming_soon: 'main-content pt-[85px] pl-[56px]',\n main_wrap: `main-content pb-[38px] lg:pb-[48px]`,\n h1_style: \"text-[#58a4ae]\",\n city_brief_wrap: 'w-full mt-[26px] flex-[0_0_100%] md:w-[100%] md:flex-[0_0_100%]'\n}","import Head from \"next/head\";\nimport React from \"react\";\nimport CityDetailsComp from \"../../../components/city-listing\";\nimport HotelListing from \"../../../components/hotelListing\";\nimport { fetchHotelsList, fetchTypeDetails } from \"../../../utils/api\";\n\nconst TypeDetails = ({ placesTypeDetails, hotelList }) => {\n const seo = placesTypeDetails?.[0]?.seo;\n\n return (\n <>\n <Head>\n {placesTypeDetails?.[0]?.title && (\n <title>{placesTypeDetails?.[0]?.title}\n )}\n\n {/* Meta Tags */}\n {seo?.description && (\n \n )}\n\n {/* Open Graph Tags */}\n {seo?.og_title && }\n {seo?.og_image && }\n\n {seo?.og_description && (\n \n )}\n {/* */}\n \n\n {/* Canonical Tag */}\n \n {seo?.keywords && }\n \n \n \n \n );\n};\n\nexport default TypeDetails;\n\n// export async function getServerSideProps(context) {\n// const { query, req } = context;\n// const isServer = req ? true : false;\n// const platform = isServer ? \"server\" : \"client\";\n\n// try {\n// const placesTypeDetails = await fetchTypeDetails(platform, query);\n\n// // Check if the data is valid\n// if (!placesTypeDetails || placesTypeDetails.length === 0) {\n// return {\n// notFound: true,\n// };\n// }\n\n// return {\n// props: {\n// placesTypeDetails,\n// },\n// };\n// } catch (error) {\n// // Handle the Axios 404 error by returning a 404 page\n// if (error.response && error.response.status === 404) {\n// return {\n// notFound: true,\n// };\n// }\n\n// // If the error is something else, you can log it or handle it differently\n// console.error(\"Unexpected error:\", error);\n\n// return {\n// notFound: true,\n// };\n// }\n// }\n\nexport async function getServerSideProps(context) {\n const { query, req } = context;\n const isServer = !!req;\n const platform = isServer ? \"server\" : \"client\";\n\n try {\n // Fetch place type details\n const placesTypeDetails = await fetchTypeDetails(platform, query);\n\n // Validate place type data\n if (!placesTypeDetails || placesTypeDetails.length === 0) {\n return {\n notFound: true,\n };\n }\n\n // Extract necessary parameters for hotel fetching\n const { stateSlug, citySlug } = query;\n\n // Fetch hotel data\n const hotelList = await fetchHotelsList(platform, stateSlug, citySlug);\n\n return {\n props: {\n placesTypeDetails,\n hotelList,\n },\n };\n } catch (error) {\n // Handle 404 errors explicitly\n if (error.response && error.response.status === 404) {\n return {\n notFound: true,\n };\n }\n\n console.error(\"Unexpected error:\", error);\n return {\n notFound: true,\n };\n }\n}\n","import moment from \"moment\";\nimport { FcApproval } from \"react-icons/fc\";\n\nexport function isEmpty(obj) {\n let isEmpty = false;\n const type = typeof obj;\n isEmpty = isEmpty || !obj;\n isEmpty = isEmpty || type === \"undefined\"; // if it is undefined\n isEmpty = isEmpty || obj === null; // if it is null\n isEmpty = isEmpty || (type === \"string\" && obj === \"\"); // if the string is empty\n isEmpty = isEmpty || obj === false || obj === 0; // if boolean value returns false\n isEmpty = isEmpty || (Array.isArray(obj) && obj.length === 0); // if array is empty\n isEmpty = isEmpty || (type === \"object\" && Object.keys(obj).length === 0); // if object is empty\n return isEmpty;\n}\n\nexport const checkDevice = (req) => {\n const userAgent = req ? req.headers[\"user-agent\"] : navigator.userAgent;\n return Boolean(\n userAgent.match(\n /Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i\n )\n );\n};\n\nexport function isDateExpired(expiryDate) {\n const expiryMoment = moment(expiryDate, \"DD/MM/YYYY\");\n const currentMoment = moment();\n // return currentMoment.isAfter(expiryMoment, \"day\");\n return false;\n}\n\nexport const getColor = (_name) => {\n const name = _name.toUpperCase();\n\n // If '|' is found, split the text and return an anchor tag\n if (name.includes(\"|\")) {\n const [text, link] = name.split(\"|\");\n return (\n \n {text.toLowerCase()}\n \n );\n }\n\n switch (name) {\n case \"JANUARY\":\n case \"FEBRUARY\":\n case \"MARCH\":\n case \"APRIL\":\n case \"MAY\":\n case \"JUNE\":\n case \"JULY\":\n case \"AUGUST\":\n case \"SEPTEMBER\":\n case \"OCTOBER\":\n case \"NOVEMBER\":\n case \"DECEMBER\":\n return (\n
\n  {name}\n
\n );\n default:\n return name.toLowerCase();\n }\n};\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/trip/[type]\",\n function () {\n return require(\"private-next-pages/trip/[type]/index.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/trip/[type]\"])\n });\n }\n ","module.exports = require('./dist/shared/lib/head')\n","export var IconsManifest = [\n {\n \"id\": \"ci\",\n \"name\": \"Circum Icons\",\n \"projectUrl\": \"https://circumicons.com/\",\n \"license\": \"MPL-2.0 license\",\n \"licenseUrl\": \"https://github.com/Klarr-Agency/Circum-Icons/blob/main/LICENSE\"\n },\n {\n \"id\": \"fa\",\n \"name\": \"Font Awesome 5\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"fa6\",\n \"name\": \"Font Awesome 6\",\n \"projectUrl\": \"https://fontawesome.com/\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"io\",\n \"name\": \"Ionicons 4\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"io5\",\n \"name\": \"Ionicons 5\",\n \"projectUrl\": \"https://ionicons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/ionic-team/ionicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"md\",\n \"name\": \"Material Design icons\",\n \"projectUrl\": \"http://google.github.io/material-design-icons/\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"https://github.com/google/material-design-icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"ti\",\n \"name\": \"Typicons\",\n \"projectUrl\": \"http://s-ings.com/typicons/\",\n \"license\": \"CC BY-SA 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by-sa/3.0/\"\n },\n {\n \"id\": \"go\",\n \"name\": \"Github Octicons icons\",\n \"projectUrl\": \"https://octicons.github.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/primer/octicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"fi\",\n \"name\": \"Feather\",\n \"projectUrl\": \"https://feathericons.com/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/feathericons/feather/blob/master/LICENSE\"\n },\n {\n \"id\": \"lu\",\n \"name\": \"Lucide\",\n \"projectUrl\": \"https://lucide.dev/\",\n \"license\": \"ISC\",\n \"licenseUrl\": \"https://github.com/lucide-icons/lucide/blob/main/LICENSE\"\n },\n {\n \"id\": \"gi\",\n \"name\": \"Game Icons\",\n \"projectUrl\": \"https://game-icons.net/\",\n \"license\": \"CC BY 3.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/3.0/\"\n },\n {\n \"id\": \"wi\",\n \"name\": \"Weather Icons\",\n \"projectUrl\": \"https://erikflowers.github.io/weather-icons/\",\n \"license\": \"SIL OFL 1.1\",\n \"licenseUrl\": \"http://scripts.sil.org/OFL\"\n },\n {\n \"id\": \"di\",\n \"name\": \"Devicons\",\n \"projectUrl\": \"https://vorillaz.github.io/devicons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ai\",\n \"name\": \"Ant Design Icons\",\n \"projectUrl\": \"https://github.com/ant-design/ant-design-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"bs\",\n \"name\": \"Bootstrap Icons\",\n \"projectUrl\": \"https://github.com/twbs/icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"ri\",\n \"name\": \"Remix Icon\",\n \"projectUrl\": \"https://github.com/Remix-Design/RemixIcon\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"fc\",\n \"name\": \"Flat Color Icons\",\n \"projectUrl\": \"https://github.com/icons8/flat-color-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"gr\",\n \"name\": \"Grommet-Icons\",\n \"projectUrl\": \"https://github.com/grommet/grommet-icons\",\n \"license\": \"Apache License Version 2.0\",\n \"licenseUrl\": \"http://www.apache.org/licenses/\"\n },\n {\n \"id\": \"hi\",\n \"name\": \"Heroicons\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"hi2\",\n \"name\": \"Heroicons 2\",\n \"projectUrl\": \"https://github.com/tailwindlabs/heroicons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"si\",\n \"name\": \"Simple Icons\",\n \"projectUrl\": \"https://simpleicons.org/\",\n \"license\": \"CC0 1.0 Universal\",\n \"licenseUrl\": \"https://creativecommons.org/publicdomain/zero/1.0/\"\n },\n {\n \"id\": \"sl\",\n \"name\": \"Simple Line Icons\",\n \"projectUrl\": \"https://thesabbir.github.io/simple-line-icons/\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"im\",\n \"name\": \"IcoMoon Free\",\n \"projectUrl\": \"https://github.com/Keyamoon/IcoMoon-Free\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/Keyamoon/IcoMoon-Free/blob/master/License.txt\"\n },\n {\n \"id\": \"bi\",\n \"name\": \"BoxIcons\",\n \"projectUrl\": \"https://github.com/atisawd/boxicons\",\n \"license\": \"CC BY 4.0 License\",\n \"licenseUrl\": \"https://github.com/atisawd/boxicons/blob/master/LICENSE\"\n },\n {\n \"id\": \"cg\",\n \"name\": \"css.gg\",\n \"projectUrl\": \"https://github.com/astrit/css.gg\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"vsc\",\n \"name\": \"VS Code Icons\",\n \"projectUrl\": \"https://github.com/microsoft/vscode-codicons\",\n \"license\": \"CC BY 4.0\",\n \"licenseUrl\": \"https://creativecommons.org/licenses/by/4.0/\"\n },\n {\n \"id\": \"tb\",\n \"name\": \"Tabler Icons\",\n \"projectUrl\": \"https://github.com/tabler/tabler-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://opensource.org/licenses/MIT\"\n },\n {\n \"id\": \"tfi\",\n \"name\": \"Themify Icons\",\n \"projectUrl\": \"https://github.com/lykmapipo/themify-icons\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/thecreation/standard-icons/blob/master/modules/themify-icons/LICENSE\"\n },\n {\n \"id\": \"rx\",\n \"name\": \"Radix Icons\",\n \"projectUrl\": \"https://icons.radix-ui.com\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/radix-ui/icons/blob/master/LICENSE\"\n },\n {\n \"id\": \"pi\",\n \"name\": \"Phosphor Icons\",\n \"projectUrl\": \"https://github.com/phosphor-icons/core\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/phosphor-icons/core/blob/main/LICENSE\"\n },\n {\n \"id\": \"lia\",\n \"name\": \"Icons8 Line Awesome\",\n \"projectUrl\": \"https://icons8.com/line-awesome\",\n \"license\": \"MIT\",\n \"licenseUrl\": \"https://github.com/icons8/line-awesome/blob/master/LICENSE.md\"\n }\n]","import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && React.createContext(DefaultContext);","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React from \"react\";\nimport { IconContext, DefaultContext } from \"./iconContext\";\nfunction Tree2Element(tree) {\n return tree && tree.map(function (node, i) {\n return React.createElement(node.tag, __assign({\n key: i\n }, node.attr), Tree2Element(node.child));\n });\n}\nexport function GenIcon(data) {\n // eslint-disable-next-line react/display-name\n return function (props) {\n return React.createElement(IconBase, __assign({\n attr: __assign({}, data.attr)\n }, props), Tree2Element(data.child));\n };\n}\nexport function IconBase(props) {\n var elem = function (conf) {\n var attr = props.attr,\n size = props.size,\n title = props.title,\n svgProps = __rest(props, [\"attr\", \"size\", \"title\"]);\n var computedSize = size || conf.size || \"1em\";\n var className;\n if (conf.className) className = conf.className;\n if (props.className) className = (className ? className + \" \" : \"\") + props.className;\n return React.createElement(\"svg\", __assign({\n stroke: \"currentColor\",\n fill: \"currentColor\",\n strokeWidth: \"0\"\n }, conf.attr, attr, svgProps, {\n className: className,\n style: __assign(__assign({\n color: props.color || conf.color\n }, conf.style), props.style),\n height: computedSize,\n width: computedSize,\n xmlns: \"http://www.w3.org/2000/svg\"\n }), title && React.createElement(\"title\", null, title), props.children);\n };\n return IconContext !== undefined ? React.createElement(IconContext.Consumer, null, function (conf) {\n return elem(conf);\n }) : elem(DefaultContext);\n}"],"names":["imageUrl","className","alt","width","height","encodedUrl","encodeURIComponent","cachedImageUrl","useState","hasError","setHasError","src","unoptimized","onError","Gwrap","styled","GalleryWrap","Add","Crum","router","useNextRouter","pathSegments","asPath","split","filter","segment","useRouter","tabIndex","href","length","map","index","slice","join","xmlns","xmlnsXlink","version","viewBox","xmlSpace","style","stroke","strokeWidth","strokeDasharray","strokeLinecap","strokeLinejoin","strokeMiterlimit","fill","fillRule","opacity","transform","d","mobile","link","buttons","showNumber","setShowNumber","onClick","target","hotelList","placeName","Array","isArray","hotel","isDateExpired","expiry_on","i","card_bg","location","Object","defineProperty","exports","value","AmpStateContext","_interop_require_default","require","createContext","isInAmpMode","ampFirst","hybrid","hasQuery","defaultHead","_extends","_react","_interop_require_wildcard","_sideEffect","_ampContext","_headManagerContext","_ampMode","inAmpMode","head","createElement","charSet","push","name","content","onlyReactElement","list","child","type","Fragment","concat","Children","toArray","props","children","reduce","fragmentList","fragmentChild","METATYPES","reduceComponents","headChildrenElements","keys","tags","metaTypes","metaCategories","reverse","Set","h","isUnique","hasKey","key","indexOf","has","add","len","metatype","hasOwnProperty","category","categories","c","some","url","startsWith","newProps","undefined","cloneElement","ampState","useContext","headManager","HeadManagerContext","reduceComponentsToState","__esModule","assign","module","ref","emitChange","mountedInstances","headElements","from","Boolean","updateHead","isServer","useClientOnlyLayoutEffect","ref1","_pendingUpdate","useClientOnlyEffect","useLayoutEffect","useEffect","warnOnce","_","byAir","byCar","byRail","color","size","LocationInfo","LightBox","dynamic","ssr","AdvertisementBanner","CityDetailsComp","data","locationInfo","featuredImage","tag","pointers","redirectPage","useCallback","city","query","title","imageLen","city_brief","dangerouslySetInnerHTML","__html","places","item","role","toLowerCase","img","description","adds","add_expiry","add_text","how_to_reach","reach_by_air","reach_by_road","reach_by_rail","label","isEmpty","full_page_add","citySlug","placesTypeDetails","seo","og_title","property","og_image","og_description","rel","canonical_tag","keywords","destination_city_name","cityName","obj","expiryDate","moment","window","__NEXT_P","DefaultContext","attr","IconContext","__assign","t","s","n","arguments","p","prototype","call","apply","this","__rest","e","getOwnPropertySymbols","propertyIsEnumerable","Tree2Element","tree","node","GenIcon","IconBase","elem","conf","svgProps","computedSize","Consumer"],"sourceRoot":""}